package com.lmabbe.core.service;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author lmabbe
 * @data 2021/1/29 21:11
 */
@EnableDiscoveryClient
@SpringBootApplication
public class CoreServiceApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder()
                .web(WebApplicationType.NONE).sources(CoreServiceApplication.class).run(args);
    }
}
